package com.pocket.insight.base.sql.dataset;

import lombok.Data;

/**
 * 描述：
 *
 * @author shuize
 * @create 2024/12/5
 */
@Data
public class DatasetSource {
    private Long datasetId;
    private Long sourceId;
    private String type;
    private Long appId;
    private Long sourceAppId;

    public DatasetSource(Long datasetId, Long sourceId, String type, Long appId, Long sourceAppId) {
        this.datasetId = datasetId;
        this.sourceId = sourceId;
        this.type = type;
        this.appId = appId;
        this.sourceAppId = sourceAppId;
    }

    public enum DatasetSourceType {
        fusion,
        union,
        aggregate,
        extend,
        reference,
        inner_filter,
        pivot,
        unpivot;
    }
}
